﻿using System.Windows.Controls;
using Snippet2Vsi.Interface;
using Snippet2Vsi.ViewModels;

namespace Snippet2Vsi.UserControls
{
    /// <summary>
    /// Interaction logic for Converter.xaml
    /// </summary>
    public partial class Converter:IConverter
    {

        #region Members

        private readonly ConverterViewModel _model;

        #endregion

        public Converter()
        {
            _model=new ConverterViewModel(this);
            DataContext = _model;
            InitializeComponent();
        }

        #region Implementation of IConverter

        public TextBox SnippetTextBox
        {
            get { return txtSnippet; }
           
        }

        public TextBox VsiTextBox
        {
            get { return txtVsi; }
           
        }

        #endregion
    }
}
